package com.hl.service;

import com.hl.pojo.Question;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface QuestionService {

    public Integer add(Question question);


    public Integer update(Question question);


    public Integer delete(Integer id);


    public Question findById(Integer id);


    public List<Question> findAll();
    public List<Question> findAll1();
    public List<Question> findAll4();

    public List<Question> findkecheng(Integer id);

    public List<Question> sosuo(String title);

}
